package com.feignfilter.backend2.controller;


import com.feignfilter.common.BaseReturnBean;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/backend2")
public class Backend2Controller {

    @RequestMapping("/testController")
    public BaseReturnBean backendController(){
        BaseReturnBean returnBean = new BaseReturnBean();
        returnBean.setReturnCode("failed");
        returnBean.setReturnMessage("失败了！");
        return returnBean;
    }
}
